package com.huaxiafinance.management.dto.request;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class MemberScoreGradeDto {
    @NotNull(message = "id不能为空")
    private Integer id;
    @NotNull(message = "等级id不能为空")
    private Integer gradeId;
    @NotNull(message = "有未输入的成长值区间值，请先输入！")
    @Min(value=0,message="最小为0")
    private Integer startValue;

    private Integer endValue;

    private String memberRight;

    private String gmtCreate;

    private String gmtModified;

    private String gradeName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getStartValue() {
        return startValue;
    }

    public void setStartValue(Integer startValue) {
        this.startValue = startValue;
    }

    public Integer getEndValue() {
        return endValue;
    }

    public void setEndValue(Integer endValue) {
        this.endValue = endValue;
    }

    public String getMemberRight() {
        return memberRight;
    }

    public void setMemberRight(String memberRight) {
        this.memberRight = memberRight;
    }

    public String getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(String gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(String gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
}